package com.flyee.communicate.character{
	
	import com.flyee.communicate.Handler;
	import com.flyee.io.socket.command.down.CommandDown;
	import com.flyee.ro.commanddown.EquipChangeDown;
	import com.flyee.utils.Obsevable;

	public class EquipChangeHandler extends Obsevable implements Handler{
		
		public function EquipChangeHandler(){
			super();
		}
		
		public function process(cmd:CommandDown):void{
			var command :EquipChangeDown = cmd as EquipChangeDown;
			setChanged();	        
	        notifyObsevers("changeEquip", command.playerId, command.equipId);
		}
		
	}
}